package com.qf.service;

import com.qf.dao.UserDao;

/**
 * @author lixu
 */
public class OrdersServiceImpl implements OrdersService {

    private String name;

    static {
        System.out.println("OrdersServiceImpl：1：我是静态代码块");
    }

    public OrdersServiceImpl() {
        System.out.println("OrdersServiceImpl：2：我是构造器");
    }

    public void setName(String name) {
        System.out.println("OrdersServiceImpl：3：我是Set注入");
        this.name = name;
    }

    public void init(){

        System.out.println("OrdersServiceImpl：4：我是初始化方法");
    }
    public void destroy(){
        System.out.println("OrdersServiceImpl：5：我是销毁方法");

    }
}
